package com.funong.matrix.biz.base.entity;

import com.baomidou.mybatisplus.annotation.TableName;
import com.funong.matrix.core.base.FunongBaseEntity;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.experimental.Accessors;

import java.util.Date;

@Data
@Accessors(chain = true)
@TableName("sys_inmail")
@ApiModel(value="Inmail对象", description="")
public class SysInmailEntity extends FunongBaseEntity {

	@ApiModelProperty(value = "业务模板id")
	private Integer businessTemplateId;

	@ApiModelProperty(value = "计划发送时间")
	private Date planSendTime;

	@ApiModelProperty(value = "发送人")
	private String sender;

	@ApiModelProperty(value = "发送者姓名")
	private String senderName;

	@ApiModelProperty(value = "接收者")
	private String receiver;

	@ApiModelProperty(value = "接收者类型，用户/角色")
	private String receiverType;

	@ApiModelProperty(value = "标题")
	private String title;

	@ApiModelProperty(value = "拼接好的消息内容")
	private String content;

	@ApiModelProperty(value = "是否已读(0:未读  1:已读)")
	private Integer isRead;

	@ApiModelProperty(value = "业务场景")
	private String businessScene;

	@ApiModelProperty(value = "所属系统")
	private Integer systemId;

	@ApiModelProperty(value = "是否禁用 0禁用 1启用")
	private Integer status;

}
